package cn.jiyun.hashMap_1_24;

import java.util.HashMap;

/**
 * @作者 Mr meng
 * @日期 2022/1/24
 * James Gosling 保佑：没有bug;
 * Linus Benedict Torvalds 保佑：没有bug;
 */
public class MyHashMapTest {
    public static void main(String[] args) {
        MyHashMap hashMap=new MyHashMap(10);
        hashMap.put("牛爱花","88988");

        String value = (String) hashMap.get("牛爱花");
        System.out.println(value);


        hashMap.put("王天昊","99999");
        String value2 = (String) hashMap.get("王天昊");
        System.out.println(value2);

        hashMap.remove("乐善");
        String value3 = (String) hashMap.get("乐善");
        System.out.println(value3);

    }
}
